package com.ma.gulimall.product.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ma.gulimall.product.entity.AttrEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品属性
 * 
 * @author mayongqiang
 * @email 178780494@qq.com
 * @date 2021-06-13 23:17:48
 */
@Mapper
public interface AttrDao extends BaseMapper<AttrEntity> {

    /**
     * 找到可以检索的规格属性
     * */
    List<Long> selectSearchAttrIds(@Param("attrIds")List<Long> attrIds);
}
